package Container;

import java.sql.Timestamp;

public class Transaction {
	private int item;
	private String itemname;
	private int buyerid;
	private String buyername;
	private int sellerid;
	private String sellername;
	private int amount;
	private Timestamp date;
	
	public int getIid() {
		return item;
	}
	
	public int getBuyerid() {
		return buyerid;
	}
	
	public int getSellerid() {
		return sellerid;
	}
	
	public int getAmount() {
		return amount;
	}
	
	public Timestamp getDate() {
		return date;
	}
	
	public String getBuyername() {
		return buyername;
	}
	public void setBuyername(String buyername) {
		this.buyername = buyername;
	}
	public String getSellername() {
		return sellername;
	}
	public void setSellername(String sellername) {
		this.sellername = sellername;
	}
	
	public Transaction(int iid, String itemname, int buyerid, String buyername, int sellerid, String sellername, int amount, Timestamp date) {
		this.item = iid;
		this.itemname = itemname;
		this.buyerid = buyerid;
		this.buyername = buyername;
		this.sellerid = sellerid;
		this.sellername = sellername;
		this.amount = amount;
		this.date = date;
	}

	public String getItemname() {
		return itemname;
	}

	public void setItemname(String itemname) {
		this.itemname = itemname;
	}
	
	
}
